import { post } from '@/utils/fetch';

/**
 * @name 获取待办管理列表
 * @param { Object }
 */
export const serviceGetTodoList = params =>
  post('/tasks-manager-app/tasks/listTasks', {
    // sourceApplicationNum: 'MOM2',
    ...params,
  });

/**
 * @name 获取待办详情
 * @param { Object }
 */
export const serviceGetTodoDetail = params =>
  post('/tasks-manager-app/tasks/listTasksDetails', params);


/**
 * @name 获取待办详情
 * @param { Object }
 */
export const serviceDeleteTodo = params =>
  post('/tasks-manager-app/tasks/deleteById', params);
